@import './tools.scss';
// 公共CSS样式
ul,
p {
  list-style: none;
  list-style-type: none;
  -webkit-margin-before: 0em;
  -webkit-margin-after: 0em;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
  -webkit-padding-start: 0px;
}

select {
  -webkit-appearance: none;
  -webkit-tap-highlight-color: #fff;
  outline: 0;
  color: #333;
  border: none;
}

//去除图片白边
img {
  vertical-align: middle;
}

html {
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  height: 100%;
}

body {
  min-width: 1230px;
  height: 100%;
  margin: auto 0;
  background-color: #F5F5F5;
  font-family: '微软雅黑';
}

input,
button,
select,
textarea {
  //  去除边框光影
  outline: none;
  border: none;
  font-size: .14rem;
}

textarea {
  resize: none;
}

.full {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
.full-pd{
  padding-top: 56.25%;
}

/*颜色*/

.bgfff,
.fff {
  background: #fff;
}

.c000 {
  color: #000;
}

.cfff {
  color: #fff;
}

.c82 {
  color: #c1c1c1;
}

.c81 {
  color: #8f9092;
}

.bgmain {
  background: #0082fc;
}

.cred {
  color: #e12825;
}

.bgred {
  background: #e12825;
}

.bgf4 {
  background: #f7ba83;
}

.bgf5 {
  background: #f5f5f5;
}

/*自动隐藏文字*/

.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ellipsis-1 {
  @include textLine();
}

.ellipsis-2 {
  @include textLine(2);
}

input {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  line-height: normal;
  border: none;
}

/*修改input placeholder 的字体样式*/

::-webkit-input-placeholder {
  /* WebKit, Blink, Edge */
  color: #c1c1c1;
}

/*文字类*/

.text-l {
  text-align: left;
}

.text-c {
  text-align: center;
}

.text-j {
  text-align: justify;
}

.text-r {
  text-align: right;
}

.text-remove {
  text-decoration: line-through;
}

.text-none {
  text-decoration: none;
}

/*位置*/

.position-r {
  position: relative;
}

.position-a {
  position: absolute;
}

.position-f {
  position: fixed;
  // max-width: 750px !important;
  left: auto !important;
}

.f-l {
  float: left;
}

.f-r {
  float: right;
}

.dis-ib {
  display: inline-block;
}

.show,
.dis-b {
  display: block;
}

.hide,
.dis-n {
  display: none;
}

.hidden {
  display: none !important;
}

.font-w {
  font-weight: bold;
}

/*背景图*/

.img-bg {
  background: #bbb no-repeat center center / cover;
}

/*正方形*/

.shape-z {
  width: 100%;
  padding-bottom: 100% !important;
}

.of-h {
  overflow: hidden;
}

/*边框样式*/

.box-sizing {
  box-sizing: border-box;
}

.border-n {
  border: none;
}

.bor-r {
  border-radius: 100%;
}

/*1px边框处理*/

.border-b,
.border-t,
.border-l,
.border-r {
  position: relative;
}

.border-b::after {
  @include border-b();
}

.border-t::before {
  @include border-t();
}

.border-r::before {
  @include border-r();
}

.border-l::after {
  @include border-l();
}

/*flex 布局*/

.flex-col,
.flex-row {
  display: flex;
}

.flex-col {
  flex-direction: row;
}

.flex-row {
  flex-direction: column;
}

/*流式布局*/

.flex-parent {
  width: auto;
  height: auto;
  display: flex;
  flex-flow: row wrap;
  align-content: flex-start;
}

.flex-child {
  box-sizing: border-box;
  flex: 0 0 25%;
}

/*对齐*/

.flex-col.flex-left {
  justify-content: flex-start;
}

.flex-col.flex-right {
  justify-content: flex-end;
}

.flex-col.flex-top {
  align-items: flex-start;
}

.flex-col.flex-bottom {
  align-items: flex-end;
}

.flex-col.flex-center {
  justify-content: center;
}

.flex-col.flex-middle {
  align-items: center;
}

.flex-row.flex-left {
  align-items: flex-start;
}

.flex-row.flex-right {
  align-items: flex-end;
}

.flex-row.flex-top {
  justify-content: flex-start;
}

.flex-row.flex-bottom {
  justify-content: flex-end;
}

.flex-row.flex-center {
  align-items: center;
}

.flex-row.flex-middle {
  justify-content: center;
}

.box-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center
}

.box-middle {
  display: flex;
  align-items: center;
  justify-content: center
}

.wrap {
  flex-wrap: wrap;
}

.box-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center
}

.box-base {
  display: flex;
  flex-direction: row;
  align-content: baseline;
}

.box-space {
  display: flex;
  justify-content: space-between;
}


/* 修改input radio的样式 */
// input[type="radio"] {
//   vertical-align: middle;
//   appearance: none;
//   /*清楚默认样式*/
//   width: 0.18rem;
//   height: 0.18rem;
//   position: relative;
//   top: -0.02rem;
//   background: url("./image/arrows_unselected_default.png") no-repeat;
//   background-size: 100% 100%;
//   cursor: pointer;
// }

// input[type="radio"]:focus {
//   outline: none;
// }

// input[type="radio"]:checked {
//   appearance: none;
//   /*清楚默认样式*/
//   background: url("./image/arrows_check_default.png") no-repeat;
//   background-size: 100% 100%;
// }

